package org.apache.ibatis.luban.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.luban.entity.Blog;
import org.apache.ibatis.session.ResultHandler;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface BlogMapper {

  Blog selectBlog(@Param("id") int id);

  void inertBlog(@Param("value") String value);

  List<Blog> selectAll();
}
